//资产中心
import { get, post } from "@/utils/http";

export const assetsList = (params) => post("/service/seceval/assets/list", params);
export const assetsRelationship = (params) => get("/service/seceval/assets/relationship", params);
export const assetsBatchReport = (params) => post("/service/seceval/assets/batchReport", params);
export const assetsBatchMonitor = (params) => post("/service/seceval/assets/batchMonitor", params);
export const assetsBatchOffline = (params) => post("/service/seceval/assets/batchOffline", params);
export const assetsBatchOnline = (params) => post("/service/seceval/assets/batchOnline", params);
export const assetsSave = (params) => post("/service/seceval/assets/save", params);
export const assetsDetail = (params) => get("/service/seceval/assets/detail", params);
export const assetsDelete = (params) => get("/service/seceval/assets/delete", params);
export const assetsallDomainName = (params) => post("/service/seceval/assets/allDomainName", params);
export const urlSensitivelist = (params) => post("/service/seceval/assets/urlSensitivelist", params);
//
export const downloadTemplateApi = (params) => get("/service/seceval/assets/downloadTemplate", params); //资产下载上传模板接口
export const uploadApi = (params) => post("/service/seceval/assets/upload", params); //资产批量上传数据接口

export const tagsAddApi = (params) => post("/service/seceval/assets/tags/add", params); //资产添加标签关联
export const tagsDeleteApi = (params) => post("/service/seceval/assets/tags/delete", params); //资产删除标签关联
export const allBusinessLineApi = (params) => post("/service/seceval/assets/allBusinessLine", params); //全量业务线
export const allLeaderApi = (params) => post("/service/seceval/assets/allLeader", params); //权属负责人
export const allLeaderDeptApi = (params) => post("/service/seceval/assets/allLeaderDept", params); //权属部门
export const followApi = (params) => post("/service/seceval/assets/bpRelation/follow", params); //关注资产
export const unfollowApi = (params) => post("/service/seceval/assets/bpRelation/unfollow", params); //取消关注资产
export const bizLineByUserApi = (params) => post("/service/seceval/assets/bizLineByUser", params); //获取员工业务线
export const saveUrlApi = (params) => post("/service/seceval/assets/saveUrl", params); //保存url列表
export const deleteUrlApi = (params) => get("/service/seceval/assets/deleteUrl", params); //删除url列表

export const dynamicselectApi = (params) => get("/service/user/dynamic/select", params); //获取动态列
export const dynamicupdateApi = (params) => post("/service/user/dynamic/update", params); //更新动态列

export const assetAddDetailApi = (params) => post("/service/seceval/assets/assetAddDetail", params); //资产删除标签关联
export const allDomainApi = (params) => post("/service/seceval/assets/allDomain", params); //获取所有域名

export const assetsSaveSubsystem = (params) => post("/service/subsytem/asset/save", params); //保存sso子系统
export const assetsSubsystemList = (params) => post("/service/subsytem/asset/list", params); // 查询SSO子系统
export const assetsSubsystemCodeList = (params) => get("/service/subsytem/asset/assetCodeList", params); // 查询子系统code
export const assetsSubsystemDetail = (params) => get("/service/subsytem/asset/detail", params); // 查询资产详情
export const assetsSubsystemDelete = (params) => get("/service/subsytem/asset/delete", params); // 删除资产
export const assetsSubsystemBatchReport = (params) => post("/service/subsytem/asset/batchReport", params); // 子系统批量发起审计
export const assetsSubsystemBatchMonitor = (params) => post("/service/subsytem/asset/batchMonitor", params); // 子系统批量发起监控
export const assetsSubsystemBatchOffline = (params) => post("/service/subsytem/asset/batchOffline", params); // 子系统批量下线
export const assetsSubsystemBatchOnline = (params) => post("/service/subsytem/assets/batchOnline", params); // 子系统批量上线
